package com.ibigcat.module.mdm.controller.admin.org.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 组织机构 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrgRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "29007")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "组织名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("组织名称")
    private String orgName;

    @Schema(description = "组织编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("组织编码")
    private String orgCode;

    @Schema(description = "组织类型", example = "1")
    @ExcelProperty("组织类型")
    private Long orgType;

    @Schema(description = "上级编码", example = "12257")
    @ExcelProperty("上级编码")
    private String parentId;

    @Schema(description = "启停状态")
    @ExcelProperty("启停状态")
    private Integer disabled;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}